package cn.blog;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

@EnableFeignClients // 开启Feign的功能
@EnableHystrix // 开启Hystrix(断路器)
@EnableDiscoveryClient // 注册到服务中心
@SpringBootApplication
public class BlogOauth2CenterApplication {

	public static void main(String[] args) {
		SpringApplication.run(BlogOauth2CenterApplication.class, args);
	}
}
